package com.emmy.walnut.model;

/**
 * @ClassName RecordSortHelperModel
 * @Description 为Record进行分类的辅助model类
 * @Author zhouxuan
 * @Date 2020/02/05 19:33
 * @Version 1.0
 */
public class RecordSortHelperModel {

    private static long totalTimestamp = 0;

    private String name;
    private long timestamp;

    public static long getTotalTimestamp() {
        return totalTimestamp;
    }

    public static void setTotalTimestamp(long totalTimestamp) {
        RecordSortHelperModel.totalTimestamp = totalTimestamp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public RecordSortHelperModel(String name, long timestamp) {
        this.name = name;
        this.timestamp = timestamp;
    }
}
